package ch.bfh.abcm.rems.tinkerforge;

import ch.bfh.abcm.rems.sensors.tinkerforge.TFSensorType;


public class TFNodeAverageMessage {

    private int value;
    private String clusterNodeID;
    private TFSensorType sensorType;

    public TFNodeAverageMessage(int value, String clusterNodeID, TFSensorType sensorType) {
        this.clusterNodeID = clusterNodeID;
        this.value = value;
        this.sensorType = sensorType;
    }

    public int getValue() {
        return value;
    }

    public String getClusterNodeID() {
        return clusterNodeID;
    }

    public TFSensorType getSensorType() {
        return sensorType;
    }

    public String toString() {
        return "CNA {value="+value+" clusternodeID="+clusterNodeID+" sensortype="+sensorType+"}";
    }

}

